<!--
        *后台品牌列表页面
        * 
        *
        * @author     3+1项目组.hzy
        * @version    2018-02-02 09:48    
-->
{extend name="AdminPublic:public"}
{block name="admin"}
<html>
 <head></head>
 <body>
  <div class="mws-panel grid_8"> 
   <div class="mws-panel-header"> 
    <span><i class="icon-table"></i>品牌列表</span> 
   </div> 
   <div class="mws-panel-body no-padding"> 
    <div id="DataTables_Table_1_wrapper" class="dataTables_wrapper" role="grid">
     <table class="mws-datatable-fn mws-table dataTable" id="DataTables_Table_1" aria-describedby="DataTables_Table_1_info"> 
      <thead> 
       <tr role="row">
        <th class="sorting_asc" role="columnheader" tabindex="0" aria-controls="DataTables_Table_1" rowspan="1" colspan="1" aria-sort="ascending" aria-label="Rendering engine: activate to sort column descending" style="width: 113px;">id</th>
        <th class="sorting" role="columnheader" tabindex="0" aria-controls="DataTables_Table_1" rowspan="1" colspan="1" aria-label="Browser: activate to sort column ascending" style="width: 153px;">品牌名</th>
        <th class="sorting" role="columnheader" tabindex="0" aria-controls="DataTables_Table_1" rowspan="1" colspan="1" aria-label="Browser: activate to sort column ascending" style="width: 153px;">品牌图片</th>
        <th class="sorting" role="columnheader" tabindex="0" aria-controls="DataTables_Table_1" rowspan="1" colspan="1" aria-label="CSS grade: activate to sort column ascending" style="width: 69px;">操作</th> 
       </tr> 
      </thead> 
      <tbody role="alert" aria-live="polite" aria-relevant="all">
      {foreach name="brand" item="row"}
       <tr class="odd" align="center"> 
        <td class=" sorting_1">{$row['id']}</td> 
        <td class=" ">{$row['name']}</td>
        <td class=" "><img src="{$row.pic}" style="height:50px;" /></td>
        <td class=" "><a href="/brand/delete/id/{$row['id']}" class="btn btn-success"   onclick="return(confirm('确定要删除吗？'))">删除</a><a href="/brand/edit/id/{$row['id']}"class="btn btn-info">修改</a></td>
       </tr>
       {/foreach}
      </tbody>
     </table>
     <div class="dataTables_paginate paging_full_numbers" id="pages">
     </div>
    </div> 
   </div> 
  </div>
 </body>
</html>
{/block}
{block name="title"}后台品牌列表{/block}